#ifndef  __M24C02_H__
#define  __M24C02_H__

#include "Dri_IIC.h"

#define DEV_WADDR 0xA0
#define DEV_RADDR 0xA1
#define PAGE_SIZE   16

void      Int_M24C02_Init(void);

void      Int_M24C02_WriteByte(uint8_t innerAddr,uint8_t byte);
uint8_t   Int_M24C02_ReadByte(uint8_t innerAddr);

void Int_M24C02_WriteBytes(uint8_t innerAddr,uint8_t* bytes,uint8_t size);
void Int_M24C02_ReadBytes(uint8_t innerAddr,uint8_t* buffer,uint8_t size);
#endif /* __M24C02_H__ */
